const Person = function() {}
const p1 = new Person()
 // true


var str1 = 'hello world'
// false 

var str2 = new String('hello world')
// true
console.log(p1 instanceof Person);
console.log(str1 instanceof String );
console.log(str2 instanceof String );
